package com.yqh;

/**
 * @author 阳秋豪
 * @createTime 2024/2/29
 */
public class Constant {
    // zookeeper 的默认连接地址与端口
    public static final String DEFAULT_ZK_CONNECT = "127.0.0.1:2181";
    // zookeeper 的默认连接超时时间
    public static final int TIME_OUT = 10000;

    // 服务提供方和调用方在注册中心的基础路径
    public static final String BASE_PROVIDERS_PATH = "/myrpc-metadata/providers";
    public static final String BASE_CONSUMERS_PATH = "/myrpc-metadata/consumers";
}
